package cn.com.nes.mybatis.agent.system.mapper;

import cn.com.nes.mybatis.agent.system.entity.BindCompany;
import cn.com.nes.site.entity.dto.workOrder.QueryBindCompanyDto;
import cn.com.nes.site.entity.vo.workOrder.DeleteBindCompanyVo;
import cn.com.nes.site.entity.vo.workOrder.QueryBindCompanyVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BindCompanyMapper extends BaseMapper<BindCompany> {

    List<QueryBindCompanyDto> queryBindCompany(Page<QueryBindCompanyDto> page, @Param("vo") QueryBindCompanyVo vo);

    Integer unBindCompany(@Param("vo") DeleteBindCompanyVo vo);


    QueryBindCompanyDto queryBindCompanyById(@Param("vo") DeleteBindCompanyVo vo );
}




